|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

LHA Tarawa
Pator Tech School Minmatar Republic
280
|
Posted - 2013.02.05 11:38:00 -
[1] - Quote
I'll try to answer because I made a post about skill training time, and was given a pretty good response by CCP.
In the server farm, there is one server that just maintains everyone's character data.
In the database there is a table indexed on time.
You press submit on the training queue, and your client tells that one server that maintains all the character info what skills you want to train. That server calculates all the completion times on all the skills and puts them in that database table with the completion time.
On that server that maintains all character data, there is a training queue monitoring process. It compares current time to the records in the database queue, and if any are due to complete, it processes them and updates your character info. IF NO records in that table are ready to process, then that queue manager goes to sleep for a few seconds to let the other processes on that server have some CPU time.
When the sleep time is over, it wakes up, completes any skills that should have completed while it was asleep, then... yes, goes to sleep again.
SO, If I hit submit, and one skill should complete at 12:01:01 and the next should complete at 12:21:01. As 12:01:00, the queue manager goes to sleep for 10 seconds. When it wakes up at 12:01:10, it sees my first skill's complete time is past, so updates my character with that skill. The fact that skill completed 9 seconds late in no way effects the fact that the queue says my second skill is scheduled to finish at 12:21:01.
That process that calculates the completion time, and puts them in the DB? Well, if it sees that you had a skill in the database table that you no longer have there, then it calculates the time from now until its scheduled completion, calculates a % complete, and throws it into another table of your partially trained. When you put that skill back into queue, it pulls it out of partially trained and uses that info to compute the correct complete time.
Finally, this "completion time" is based on your current attributes. SO, before you can change attributes, you have to pause queue, pulling everything out of the queue database table into partially trained. Then you adjust your attribs (remap or implants) and submit your queue again. Now the new attribs are used to calculate the completion times.
SO, even if you skill is scheduled to complete during down time, the next skill in the queue will complete on time.
On those upgrade days, players tend to pull all the small skills out of the queue, and just have one really long skil in there, in fear that if the system is still down when those small skills finish, the longer one at the end of the queue won't start training until the server is back up. This is incorrect. The completion time of the furthest our skill in the queue is unaffected by server downtime because that completion time in the database table is safely stored to hard disk and does not change when the server comes back up.
|

LHA Tarawa
Pator Tech School Minmatar Republic
280
|
Posted - 2013.02.05 11:45:00 -
[2] - Quote
Bobo Cindekela wrote:I think it only displays completion imminent to bust the chops of ocd sperglords, while it is applying the time to the next skill
it only does it if you watch it complete.
Your client has a timer that it expects to receive a message from the server that your skill is complete. There is no constant communication between the client and the server on that timer. When the timer on the server hits 0, it switches to the "imminent" message. But, that is just client side. Server side, the training of the next skill has already begun, and the server is the boss.
No calculation of the next complete time is done at the time one skill completes. It is all calculated when you hit submit on the training queue window. (Well, milliseconds later when the server processes the submitted training queue update request.) |

LHA Tarawa
Pator Tech School Minmatar Republic
283
|
Posted - 2013.02.05 15:39:00 -
[3] - Quote
Lysanne Reqetta wrote: Dear god this is the most helpful and well-explained post I've seen in months. What's happening to the forums?!
Sorry.
I'll try again.
Stop watching the sp timer, and stop playing EVE wrong*! Get in a ship and come to lowsex so I can pop, then pod ya.
* Wrong = any way that doesn't involve being an easy kill for me to grow my epeen. If you are in a blob = wrong. If you watch local and safe up = wrong. If you refuse to undock during a war, or move1 to NPC corp to avoid war = wrong. If you own a mining barge = wrong.
|

LHA Tarawa
Pator Tech School Minmatar Republic
283
|
Posted - 2013.02.05 15:42:00 -
[4] - Quote
Krixtal Icefluxor wrote:Erm......there was already a GD Discussion about this issue less than 2 weeks ago. It is an acknowledged BUG and being worked on. Unfortunately I cannot paste in the comments from my Bug Report obviously. I myself lost at least 12 hours of Training time before this was noticed. Edit: Linkage
There may be a bug in how completion time is calculated. That does not mean that the completion time does not get calculated at the time you submit the skills. |

LHA Tarawa
Pator Tech School Minmatar Republic
284
|
Posted - 2013.02.05 15:50:00 -
[5] - Quote
I followed the link to the bug report. It seems that is a different issue.
The bug talks about the completion times in the training queue getting messed up. That was not a couple extra seconds after scheduled completion time until actual completion.
The OP of this thread was talking about those seconds between when your skill is scheduled to end, and when it actually does end. Totally different. |

LHA Tarawa
Pator Tech School Minmatar Republic
285
|
Posted - 2013.02.05 18:20:00 -
[6] - Quote
Ranger 1 wrote:Offcial CCP Joke #542:
How do you keep a skill point obsessed EvE player in suspense?
Create a bug where skills just don't complete if they put too many skills into the queue? |

LHA Tarawa
Pator Tech School Minmatar Republic
285
|
Posted - 2013.02.05 19:12:00 -
[7] - Quote
Ranger 1 wrote:LHA Tarawa wrote:Ranger 1 wrote:Offcial CCP Joke #542:
How do you keep a skill point obsessed EvE player in suspense? Create a bug where skills just don't complete if they put too many skills into the queue? I heard of the one where skill complettion times were not being calculated correctly, but not the one you just described. Haven't experienced either one across multiple accounts either, although some people were reimbursed skill points last update. Not too concerned about it either way.  If my skills ever get borked, a petion will take care of the issue for me (assuming I ever take notice, or care).
Read the link provided in post #17 of this thread. |

LHA Tarawa
Pator Tech School Minmatar Republic
286
|
Posted - 2013.02.05 19:34:00 -
[8] - Quote
Ranger 1 wrote: I find it fairly doubtful as I often inject large numbers of skills with no occurance of the bug, so if that is part of the cause there must be other factors involved as well.
Still, if a skill gets stuck (which considering the low number of posts seems to be fairly uncommon) just petition it to get reimbursed... and in a little over a week the next patch should deal with the issue.
Not really something to get worked up about.
The Dev that responded in that thread said it could be caused by either thing... too many skills, or injecting a skill while other skills were in training. |
|
|
|